home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 11
/
Mac Magazin and MacEasy Magazine CD - Issue 11.iso
/
Sharewarebibliothek
/
Entwickler
/
nShell-Pro
/
bin
/
find
/
find.rsrc
/
TEXT_16000_man general.txt
< prev
next >
Wrap
Text File
|
1994-11-27
|
893b
|
43 lines
NAME
find - search for files
SYNOPSIS
find pathname [pathname...] [-name 'pattern'] [-o] [-type 'type'] [-a] [-creator 'crea']
DESCRIPTION
Search all directories below a given pathname for matching files. The search options allow logical expressions to be developed. For example, the following command will search "my_path" for all files who's names start with "sample" or "demo".
find my_path -name '[sS]ample*' -o -name '[dD]emo*'
If no relation between expressions is defined, an implied "and" is used.
OPTIONS
-name 'pattern'
The match is true if the name matches the given pattern.
-o
The match is successful if the previous condition is true.
-type 'type'
The match is true if the file is of the given type.
-a
The match fails if the previous condition is false.
-creator 'crea'
The match is true if the file has the given creator.
RETURN CODES
<0 Error
0 Success